package innerclass.a02demo2;

public class Test {
    public static void main(String[] args) {

        Outer.Inner i = new Outer().new Inner();
        i.show();

    }
}

class Outer {
    private int a = 10;

    public void method() {
        Inner i = new Inner();
        i.show();

    }

    public class Inner {
        public void show() {
            System.out.println(a);
        }
    }
}
